package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
/**
 * @author hjh
 */
@Data
@ApiModel(description = "黑名单规则表")
@EqualsAndHashCode(callSuper = true)
@TableName(TableConstant.T_PURCHASER_INVOICE_BLACK_RULES)
public class InvoiceBlackRulesEntity extends BaseEntity implements Serializable {

    @ApiModelProperty("黑名单规则ID")
    @TableId("black_rule_id")
    private String blackRuleId;

    @ApiModelProperty("发票审核规则uuid")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("黑名单不通过原因")
    @TableField("black_not_pass_reasons")
    private String blackNotPassReasons="该企业存在于黑名单";

    @ApiModelProperty("黑名单是否开启，0->不开启 1->开启")
    @TableField("black_is_open")
    private String blackIsOpen;

    @ApiModelProperty("强制通过标志(0 未开启  1 开启)")
    @TableField("force_flag")
    private String forceFlag;
}
